
/** When your routing table is too long, you can split it into small modules**/

import Layout from "@/layout/index.vue";

const shoppingRouter = {
    path: '/shopping',
    component: Layout,
    redirect: 'noRedirect',
    name: 'oreder',
    meta: {
        title: '商城',
        icon: 's-data'
    },
    children: [
        {
            path: 'commodity',
            component: () => import('@/views/shopping/commodity.vue'),
            name: 'commodity',
            meta: { title: '商品管理', noCache: true }
        },
		{
		    path: 'commodityCategory',
		    component: () => import('@/views/shopping/commodityCategory.vue'),
		    name: 'commodityCategory',
		    meta: { title: '商品分类管理', noCache: true }
		},
    ]
}

export default shoppingRouter
